package com.example.team.service;

import com.example.team.entity.Attendance;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/****
 * 编写者：王轩
 * 时间：2023/10/27
 * Attendance-service层接口
 */
@Transactional
public interface IAttendanceService {
    //更改时间
    int updateTime(Attendance attendance);
    //查询员工id是否存在
    List<Attendance> findByEmployeeID(Attendance attendance);
    int insertAttendance(Attendance attendance);
    int deleteAttendance(Attendance attendance);
    int update (Attendance attendance);
    List<Attendance> getAllAttendance(Attendance attendance);
    Attendance getAttendance(Attendance attendance);
}
